package _9练习;

public class SaleEmployee extends Employee {


	  public int getSalary() {
			return (int) ((wage+bonus)*rate);
		}
			public SaleEmployee(String name,int wage,int bonus,double rate) {
				super();
				this.name = name;
				this.wage = wage;
				this.bonus = bonus;
				this.rate = rate;
			}
	
		    
		}
